package mybatis.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
public class Worker {
    private int id;
    private String name;
    private int age;
    private String sex;
    private int Worker_id;

    public Worker() {
    }

    public Worker(int id, String name, int age, String sex, int worker_id) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.sex = sex;
        Worker_id = worker_id;
    }
}
